﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PlaxoSyncWM;

namespace TestPlaxoSyncWM {
    [TestClass]
    public class TestNet {
        public Net newConnection;

        private TestContext testContextInstance;

        public TestContext TestContext {
            get { return testContextInstance; }
            set { testContextInstance = value; }
        }

        [TestMethod]
        public void TestDetectInternet() {
            newConnection = new Net();
            Boolean cval = newConnection.DetectInternet();
            Assert.IsNotNull(cval);
            Assert.IsTrue(cval);
        }
    }
}